s = [3,45,4,5,56,234,4,45,56,56,345,435,56,56]
s.each do |a|
  if a%4==0
    print "#{a}\n"
  else
    print "#{a}"
  end
end